package com.tuanzi.loan.vo.response.family;

import com.tuanzi.loan.core.vo.IdentityResponse;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 商务充值页面响应
 * @author JinRuiyang 2017/11/29
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class BusinessPrepaymentSearchResponse  extends IdentityResponse {

    private Integer prepaymentProductId;
    private Long modelId;
    private String partnerName;
    // 单价
    private Double amountPerClick;
    // 余额
    private Double balance;
    private String operatorName;
    private Integer status;

    public Boolean isEnable(){
        return this.status == 1;
    }

    public Boolean isDisable(){
        return this.status == 0;
    }
}
